package TamirsGui;

import java.util.Vector;

public interface CreateMsgToServer {
    public String getRegisterMsg(String userName,String password);
    public String getLoginMsg(String userName,String password);
    public String getViewForumMsg();
    public String getViewForumMsg(String userName);
    public String getViewSubForumMsg(String userName,Vector<String> path);
    public String getViewThreadMsg(String userName,Vector<String> path);
    public String getLogoutMsg(String userName);
//    String getSubForumMsg(String userName,String subForumName);
    public String getModeratorsCandidateMsg(String userName,Vector<String> path);
    public String getModeratorsCandidateMsg(String userName, String subForumId) ;
    public String getAddModeratorMsg(String userName,String moderatorUserName,Vector<String> path);
    public String getDeleteMsg(String userName,Vector<String> path,boolean isThread);
    public String getEditMsg(String userName,Vector<String> path,boolean isThread);
    public String getRemoveModerator(String userName,String moderatorUserName,Vector<String> path);
    public String getModerators(String userName,Vector<String> path);
    public String exit(String userName);
    public String getAddThreadMsg(String userName,Vector<String> path,String subject,String content);
    public String getAddPostdMsg(String userName,Vector<String> path,String subject,String content,boolean isThread);
    public String getEditMsg(String userName, Vector<String> path,String subject,String content,boolean isThread);
    public String getAddSubForum(String userName,String subForumName);
    public String getRemoveSubForum(String userName,String subformId);
public 	String getNumOfMessagesInSubForum(String userName, Vector<String> path);
public 	String getNumOfMessageByUser(String userName);
public 	String getMsgCount(String userName, String userToSearch);

    public String getAdminsCandidateList(String userName);

    public String getChangeAdmin(String userName, String moderatorName);
    public String getNumOfConnection(String userName);
}
